package com.szrt.java.day20170103.demo05;


import org.junit.Test;

public class ManagerTest {
	
	@Test
	public void zhangsan() throws Exception {
		
		//oop
		//Zhangsan manager =new Zhangsan();
		
		//oip 面向接口编程
		Manager manager = new Zhangsan();
		
		manager.core();
		manager.login();
		
	}
	
	@Test
	public void chengao() throws Exception {
		
		Manager manager = new ChenGao();
		
		manager.core();
		manager.login();
		//System.out.println(manager.money);
		
		//manager.money=12000;
		
	}
	
	
	@Test
	public void chengao02() throws Exception {
		
		System.out.println(Manager.MONEY);
		
		
	}

}
